import java.util.Scanner;
class FindYear {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入分钟：");
        if(sc.hasNextInt()){
            int min = sc.nextInt();
            int year = min / (60 * 24 * 365);
            int day = (min / (60 * 24)) % 365;
            System.out.println(min + " 分钟约等于 " + year + " 年 " + day + " 天");
        } else {
            System.out.println("输入无效，请输入整数。");
        }
        sc.close();
    }
}
